package com.yvan.leto.server.domain;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
@NoArgsConstructor
public class Segment {
    private String name;
    private String type;
    private Boolean exists = false;

    public Segment(String name, String type, List<String> configFiles) {
        this.name = name;
        this.type = type;
        this.configFiles = configFiles;
    }

    @JsonProperty("config_files")
    private List<String> configFiles;
}
